﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShippingDetails.aspx.cs" Inherits="WorkShop.ShippingDetails" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>i-MegaShopping</title>
    <style type="text/css">
        .auto-style1 {
            width: 160px;
        }
        .auto-style2 {
            width: 160px;
            height: 23px;
        }
        .auto-style3 {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="frmShippingDetails" runat="server">
    <div style="width: 687px; height: auto; border:2px solid #e22fe4; margin: 0 auto;">
            
        <h2 style="color:#ba7a2c;text-align:center">Shipping Details</h2>
        
            <table style="border: thin solid #00FFFF; width:49%; margin: 0 auto;">
                <tr>
                    <td class="auto-style2">Order ID :</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblOrderID" runat="server" Text="[lblOrderID]"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style1">Product ID :</td>
                    <td>
                        <asp:Label ID="lblProductID" runat="server" Text="[lblProductID]"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style2">Gross Line Total : </td>
                    <td class="auto-style3">
                        <asp:Label ID="lblGross" runat="server" Text="$[lblGross]"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style2">Total Discount:</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblDiscount" runat="server" Text="$[lblDiscount]"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style2">Taxes :</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblTaxes" runat="server" Text="$[lblTaxes]"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style2">Total Order Amount :</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblAmount" runat="server" Text="$[lblAmount]"></asp:Label>
                    </td>
                    
                </tr>
            </table>
       
            
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter Zip Code :&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtZipCode" runat="server" Width="208px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="valZipCode" runat="server" ControlToValidate="txtZipCode" ErrorMessage="Please enter Zip-Code" ForeColor="Red">*</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="valZipCodeFormat" runat="server" ControlToValidate="txtZipCode" Display="Dynamic" ErrorMessage="ZipCode must be a numberic" ForeColor="Red" ValidationExpression="\d{5}(-\d{4})?">*</asp:RegularExpressionValidator>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Delivery Location:&nbsp;
        <asp:DropDownList ID="ddlLocation" runat="server" Height="16px" Width="212px">
            <asp:ListItem Value="0">Select</asp:ListItem>
            <asp:ListItem>Hà Nội</asp:ListItem>
            <asp:ListItem>Thành Phố Hồ Chí Minh</asp:ListItem>
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="valLocation" runat="server" ErrorMessage="Please choice your delivery location" ForeColor="Red" InitialValue="0" ControlToValidate="ddlLocation">*</asp:RequiredFieldValidator>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
&nbsp;
        <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" Width="100%" ForeColor="Red" HeaderText="List erros :" />
       
            
    </div>
    </form>
</body>
</html>
